<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
return [
    'http' => [
        // 验证器
        \Hyperf\Validation\Middleware\ValidationMiddleware::class
    ],
    
    'alias' => [
        // 认证中间件
        'auth' => App\Middleware\Authentication::class,
        'auth_admin' => App\Middleware\AuthAdmin::class,
        // 用户限流器
        'user_limit' => App\Middleware\UserLimit::class,
    ]
];
